package util;


public class Pair<K,V>  {

	public final static String SPT = ",";
//	Class kclass;
//	Class vclass;
	K first;
	V sedond;
	
//	public Pair(K k, V v ,Class a, Class b){
//		first = k;
//		sedond = v;
////		kclass = a;
////		vclass = b;
//	}
	
	public Pair() {
	}
	
	public Pair(K k, V v){
		first = k;
		sedond = v;
	}

	public K getFirst() {
		return first;
	}

	public V getSecond() {
		return sedond;
	}

	public Pair<K, V> parse(String str) {
		// TODO Not finished
 
		return null;
	}
	public void setfirst(K k){
		first = k;
	}

	public void setSecond(V value) {
		sedond = value;
	}

	@Override
	public String toString() {
		return "(" + first.toString() +"," + sedond.toString() + ")" ;
	}

}
